//
//  HYPhotoVideoItemViewModel.h
//  XPlayer
//
//  Created by liguoqing on 2023/8/5.
//

#import <BaseWithRAC/BaseViewModel.h>

typedef BOOL(^SelectMaxBlock)(void);

NS_ASSUME_NONNULL_BEGIN

@interface HYPhotoVideoItemViewModel : BaseViewModel
// 视频封面
@property (nonatomic, strong) UIImage *videoImage;
// 视频名称
@property (nonatomic, strong) NSString *videoTitle;
// 视频本地地址
@property (nonatomic, strong) NSString *videoUrl;
// 是否是本地视频
@property (nonatomic, assign) BOOL isLocalVideo;
// 视频时长
@property (nonatomic, strong) NSString *videoDuration;
// 创建日期
@property (nonatomic, strong) NSString *createDate;
// 视频大小
@property (nonatomic, assign) unsigned long long videoSize;
// 视频索引
@property (nonatomic, strong) NSString *folderLocation;
// 是否被选择
@property (nonatomic, assign) BOOL isSelect;

@property (nonatomic, strong) RACSubject *selectSubject;
// 回调最大值
@property (nonatomic, copy) SelectMaxBlock maxBlock;

@end

NS_ASSUME_NONNULL_END
